package com.atguigu.gulimall.gulimallcart.vo;

import lombok.Data;

public class UserInfoTo {
private Long userId;
private String userKey;
private boolean tempUser =false;

    @Override
    public String toString() {
        return "UserInfoTo{" +
                "userId=" + userId +
                ", userKey='" + userKey + '\'' +
                ", tempUser=" + tempUser +
                '}';
    }

    public boolean isTempUser() {
        return tempUser;
    }

    public void setTempUser(boolean tempUser) {
        this.tempUser = tempUser;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserKey() {
        return userKey;
    }

    public void setUserKey(String userKey) {
        this.userKey = userKey;
    }


}
